package com.uyayo.framework.excelhelper;

import org.apache.poi.hssf.usermodel.HSSFFont;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Font;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * Excel字体抽象类
 * @author hfj
 *
 */
public abstract class ExcelFont {

    /**
     * 标题字体
     * @param workbook
     * @return
     */
    public abstract Font getTitleFont(Workbook workbook);

    /**
     * 表头字体
     * @param workbook
     * @return
     */
    public abstract Font getHeadersFont(Workbook workbook);

    /**
     * 内容字体
     * @param workbook
     * @return
     */
    public abstract Font getContentFont(Workbook workbook);
}